package com.huike.business.mapper;

import java.util.List;

import com.huike.business.domain.TbBusiness;
import com.huike.business.domain.TbBusinessTrackRecord;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {

    List<TbBusinessTrackRecord> list(Long id);

    /*TbBusinessTrackRecord getBussines(Long businessId);*/

    /**
     * 新增商机记录
     * @param tbBusinessTrackRecord
     * @return
     */
    int insertTbBusinessTrackRecord(TbBusinessTrackRecord tbBusinessTrackRecord);

    /**
     * 修改商机
     *
     * @param business 商机
     * @return 结果
     */
    void updateTbBusiness(TbBusiness business);

}